package com.lottery.system.service.activitystatus;

import com.lottery.system.service.dto.ConvertActivityDTO;

/**
 * @author: xiaoxie
 * create: 2024-09-12 18:21
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.service.activity status
 * description: 活动状态管理
 */
public interface ActivityStatusManager {
    /**
     * @description: 活动状态处理器
     * @author: xiaoxie
     * @date: 2024/9/12 18:23
     * @param: [convertActivityDTO]
     * @return: void
     **/
    void handleEvent(ConvertActivityDTO convertActivityDTO);

    /**
     * @description: 回滚扭转状态
     * @author: xiaoxie
     * @date: 2024/9/15 21:19
     * @param: [convertActivityDTO]
     * @return: void
     **/
    void rollBackHandleEvent(ConvertActivityDTO convertActivityDTO);
}
